* {
  padding: 0;
  box-sizing: border-box;
}
html,
body,
#app {
  font-size: 16px;
  font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
  transition: all 0.5s ease-in-out;
  min-height: 100vh;
  max-width: 100vw;
}
#nprogress .bar {
  height: 2px !important;
  opacity: 1 !important;
}
.md-editor-toolbar-wrapper .md-editor-toolbar-left,
.md-editor-toolbar-wrapper .md-editor-toolbar-right {
  flex-wrap: wrap;
}
.md-editor-toolbar-wrapper {
  height: auto;
}
/* 定义滚动条的样式 */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
/* 定义滚动条滑块的样式 */
::-webkit-scrollbar-thumb {
  background-color: #a9adb6;
  border-radius: 5px;
}
/* 定义滚动条轨道的样式 */
::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 5px;
}
.dark {
  /* 定义滚动条的样式 */
  /* 定义滚动条滑块的样式 */
  /* 定义滚动条轨道的样式 */
}
.dark html,
.dark body,
.dark #app {
  background-color: #1a1a1a;
  color: #ffffff;
}
.dark ::-webkit-scrollbar {
  width: 10px;
}
.dark ::-webkit-scrollbar-thumb {
  background-color: #1a1a1a;
  border-radius: 5px;
}
.dark ::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 5px;
}
.m-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.m-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #2177b8;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}
.m-link:hover::after {
  left: 0;
  width: 100%;
}
.m-link:hover {
  color: #2177b8;
}
.m-flex {
  display: flex;
}
.m-f-center {
  justify-content: center;
  align-items: center;
}
.m-f-aic {
  align-items: center;
}
.m-f-jcc {
  justify-content: center;
}
.m-f-column {
  flex-direction: column;
}
.m-f-row {
  flex-direction: row;
}
.m-f-row-reverse {
  flex-direction: row-reverse;
}
.m-a-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.m-a-center-0 {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.m-va-middle {
  vertical-align: middle;
}
.m-t-center {
  text-align: center;
}
.m-bold {
  font-weight: bold;
}
.m-c-pointer {
  cursor: pointer;
}
.m-pointer-cursor {
  cursor: pointer;
}
.m-pointer-default {
  cursor: default;
}
.m-text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
